package com.fly.mapper;

import com.fly.domain.Department;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Fly
 * @Description
 * @Date Created in 10:14 2018/2/2
 * @Modified by
 */
@Component
@Mapper
public interface DepartmentMapper {

    List<Department> getDepartmentsByParentId(Long parentId);
}
